import request from '../utils/request.js';
//查询所有储值卡
export function WXPrepaymentCardAll(data){
	return request({
		url:'/WXPrepaymentCardAll',
		method:'POST',
		data,
	})
}
//我的储值卡
export function WXMyprepaymentCard(data){
	return request({
		url:'/WXMyprepaymentCard',
		method:'POST',
		data,
	})
}
//储值卡详情
export function WXPrepaymentCardID(data){
	return request({
		url:'/WXPrepaymentCardID',
		method:'POST',
		data,
	})
}
//储值卡适用商品详情
export function WXPrepaymentCardArticle(data){
	return request({
		url:'/WXPrepaymentCardArticle',
		method:'POST',
		data,
	})
}
//分页获取对应类别商品
export function WX2GoodsIdAction(data){
	return request({
		url:'/WX2GoodsIdAction',
		method:'POST',
		data,
	})
}
//模糊查询分页商品
export function WXGoodsIdBlurred(data){
	return request({
		url:'/WXGoodsIdBlurred',
		method:'POST',
		data,
	})
}
//查看商品是否下架
export function WXSalesArticle(data){
	return request({
		url:'/WXSalesArticle',
		method:'POST',
		data,
	})
}

export function getPickerAllAction(data){
	return request({
		url:'/getPickerAllAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}